package ms.utils;

import org.w3c.dom.Element;

public class XmlElementObject {
	public final Element Node;
	
	public XmlElementObject(Element node) {
		Node = node;
	}
	
	protected String getAttribute(String name) {
		return Node.getAttribute(name);
	}
	
	protected <T> void setAttribute(String name, T value) {
		Node.setAttribute(name, value.toString());
	}
	
	protected Element addNode(String tagName) {
		return null;
	}
}
